﻿CREATE TABLE [dbo].[ErrorItem] (
    [eid]        INT        IDENTITY (1, 1) NOT NULL,
    [tid]        INT        CONSTRAINT [DF_ErrorItem_tid] DEFAULT ((0)) NOT NULL,
    [uid]        INT        CONSTRAINT [DF_ErrorItem_uid] DEFAULT ((0)) NOT NULL,
    [total]      INT        CONSTRAINT [DF_ErrorItem_total] DEFAULT ((0)) NOT NULL,
    [errortotal] INT        CONSTRAINT [DF_ErrorItem_errortotal] DEFAULT ((0)) NOT NULL,
    [errorrate]  FLOAT (53) CONSTRAINT [DF_ErrorItem_errorrate] DEFAULT ((0)) NOT NULL,
    CONSTRAINT [PK_ErrorItem] PRIMARY KEY CLUSTERED ([eid] ASC)
);

